﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MLM.Base;

namespace MLM.AdminCP.Pages
{
    public partial class News : BasePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected void CurrentRowTextBox_OnTextChanged(object sender, EventArgs e)
        {
            TextBox t = (TextBox)sender;
            DataPager pager =
                (DataPager)NewsViews.FindControl("DataPager");
            pager.SetPageProperties(Convert.ToInt32(t.Text) - 1,
                 pager.PageSize, true);
        }
    }
}